<eq name="requestfirst" value="1">
    <input type="hidden" id="requestfirst" value="1">
</eq>
<div class="hidden OptionTitle">新增客户</div>
<div class="hidden OptionBtn">保存</div>
<form role="form" method="post" action="{:U('insert')}" class="checkoutform" style="position:relative;">




  <div class="form-group text-input">
    <label for="email">客户名称</label>
    <input class="form-control" datatype="*" id="title" data-position="right" data-intro="填写客户名称"  name="title" placeholder="客户名称" type="text">
  </div>
  <div class="form-group text-input opacity opacityb"  data-position="right" data-intro="选择客户分类"  >
    <label for="category">客户分类</label>
    <div>
      <volist name="candy" id="candy">
        <label class="checkbox-line" style="margin-right:10px"><input type="checkbox" name="customercategory_id[]" value="@{$candy.id}@"><span>{$candy.name}</span></label>
      </volist>
    </div>
  </div>
  <div class="form-group text-input">
    <label for="email">联系人</label>
    <input class="form-control" data-position="bottom" data-intro="填写主要联系人" datatype="*" id="contacts" name="contacts" placeholder="联系人" type="text">
  </div>
  <div class="form-group text-input">
    <label for="email">手机号码</label>
    <input class="form-control" data-position="bottom" data-intro="填写客户手机号码" datatype="m" id="mobile" name="mobile" placeholder="手机号码" type="text">
  </div>
  <div class="form-group text-input">
    <label for="email">联系电话</label>
    <input class="form-control" datatype="*"  data-position="bottom" data-intro="填写客户联系电话"  id="tel" name="tel" placeholder="联系电话" type="text">
  </div>
  <div class="form-group text-input">
    <label for="email">QQ</label>
    <input class="form-control" datatype="*" data-position="bottom" data-intro="填写客户QQ"  id="QQ" name="QQ" placeholder="QQ" type="text">
  </div>
  <div class="form-group text-input">
    <label for="email">微信号</label>
    <input class="form-control" datatype="*" data-position="bottom" data-intro="填写客户微信号"  id="weixin" name="weixin" placeholder="微信" type="text">
  </div>
  <div class="form-group text-input">
    <label for="email">公司地址</label>
    <textarea name="address" class="form-control" data-position="top" data-intro="填写客户公司地址"  style="height:50px;" placeholder="公司地址"></textarea>
  </div>
</form> 